﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;

namespace intelliEssay.Core
{
    public class TaskRuntimeException : Exception
    {
        public ICollection<Exception> RuntimeExceptions
        {
            get;
            set;
        }

        public override string Message
        {
            get
            {
                return "intelliEssay Checker Runtime exceptions have occured. Check RuntimeExceptions for more information.";
            }
        }
    }

    public class TaskRuntimeExceptionCollection : Collection<TaskRuntimeException>
    {
    }
}
